package apiday02;

import java.awt.*;

//getter和setter的演示
public class GetterSetterDemo {
    public static void main(String[] args) {
        point p = new point(100,200);
        System.out.println(p.getX() + "," + p.getY());
        System.out.println(p);

        String str = "这是个点:"+p;
    }
}
